package com.love.netty.core.packet.response;

import com.love.netty.core.packet.Packet;
import com.love.netty.model.Session;
import lombok.Data;

import java.util.List;

import static com.love.netty.core.interfaces.Command.LIST_GROUP_MEMBERS_RESPONSE;

/**
 * @ClassName: ListGroupMembersResponsePacket
 * @Description:
 * @Author: wuj
 * @Date: 2021-06-25 15:55
 **/
@Data
public class ListGroupMembersResponsePacket extends Packet {

    private String groupId;

    private List<Session> sessionList;

    @Override
    public Byte getCommand() {
        return LIST_GROUP_MEMBERS_RESPONSE;
    }
}
